<template>
<!--
  时间：2023年10月18日 13点28分
  头部导航栏的开发
-->
  <div id="head_navbar">
    <div class="head_navbar_box">
      <div class="logo"></div>
      <ul class="iconfont head_navbar_ul">
        <li class="general_li">
          <RouterLink exact-active-class="not_select" to="/">首页</RouterLink>
        </li>
        <li class="general_li">
          <RouterLink exact-active-class="not_select"  to="/note">笔记</RouterLink>
        </li>
        <li class="general_li">
          <RouterLink exact-active-class="not_select" to="/experience">读书/观影</RouterLink>
        </li>
        <li class="general_li">
          <RouterLink exact-active-class="not_select" to="/daily">日常</RouterLink>
        </li>
        <li class="general_li">
          <RouterLink exact-active-class="not_select" to="/friendlylinks">友链</RouterLink>
        </li>
        <li class="general_li">
          <RouterLink exact-active-class="not_select" to="/about">关于</RouterLink>
        </li>
        <li class="search_btn">&#xe632;</li>
        <li class="reading_switch_btn">&#xe625;</li>
      </ul>
    </div>
  </div>
</template>
<script setup lang="ts">

</script>
<style scoped>
ul{
  list-style: none;
}
#head_navbar{
  width: 100%;
  height: 90px;
  box-shadow: 0 2px 3px 1px #dddddd;
  background: #ffffff;
  overflow: hidden;
}
.head_navbar_box{
  margin: 0 auto;
  position: relative;
  display: flex;
  justify-content: space-between;
  width: 1200px;
  height: 100%;
}
.logo{
  position: relative;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  background-image: url("https://bucket-yufei.oss-cn-beijing.aliyuncs.com/my_self/image/blog_logo2.png");
  background-color: #040D21;
  width: 43px;
  height: 43px;
  background-size: 100% 100%;
  border-radius: 50%;
}
.head_navbar_ul{
  display: flex;
  margin: 0;
  line-height: 90px;
  overflow: hidden;
}
.head_navbar_ul li{
  overflow: hidden;
}
.head_navbar_ul li a{
  display: block;
  width: 100%;
  height: 100%;
  padding: 0 27px;
  color: #666666;
  font-weight: bold;
}
.head_navbar_ul li a:hover{
  border-bottom: 3px solid #000;
  color: #000000!important;
}
.head_navbar_ul li:hover{
  background: #ffffff;
}
.not_select{
  border-bottom: 3px solid #000;
  color: #000000!important;
}
.search_btn{
  padding: 0 27px;
}
.reading_switch_btn{
  padding: 0 27px;
}

</style>
